/**
 * @Title: BirthdayJob
 * @Package cn.com.yiqi.wsc.api.job
 * @Description: TODO
 * Copyright: Copyright (c) 2016
 * Company: 成都壹柒互动科技有限公司
 * @author 会员系统组-胥钰淋
 * @date 2017/2/28 15:05
 * @version V1.0
 */
package cn.com.yiqi.wsc.api.job;

import cn.com.yiqi.wsc.service.order.impl.OrderServiceImpl;
import cn.com.yiqi.wsc.service.weixin.impl.WeixinPayImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Scheduled;

/**
 * @author 会员系统组-胥钰淋
 * @ClassName: BirthdayJob
 * @Description: TODO
 * @date 2017/2/28 15:05
 */

public class BirthdayJob {

    @Autowired
    WeixinPayImpl weixinPay;

    @Autowired
    OrderServiceImpl orderService;



    /**
     * 订单过期取消
     * */
//    @Scheduled(cron = "0 0/5 * * * ?")
//    public void task2() {
//        System.out.println("orderjob*******************");
//        orderService.calcelOrderTask();
//    }

}
